<?php
defined('ROOTPATH') OR exit('Forbidden');

class mod_user {

    public static function getUser($username) {
        db::table('user');
        db::where(array('username' => $username));
        return db::getone();
    }
}
